﻿using AppDesign.Models.ManageType;
using Idte.Core.Infrastructure.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace AppDesign.Models
{
    [AggregateAttribute]
    public class AppLayout
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Guid UniqueId { get; set; }

        public string LayoutName { get; set; }
        public string Html { get; set; }

        [ForeignKey("AppId")]
        public AppTypes AppTypes { get; set; }
        public Guid AppId { get; set; }
    }
}